package com.pap.datas.dict.auto.mapper;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.datas.dict.auto.entity.Dict;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;;

public interface DictMapper extends PapBaseMapper<Dict> {
	int deleteByPrimaryKey(String id);

	int selectCountByMap(Map<Object, Object> map);

	List<Dict> selectListByMap(Map<Object, Object> map);

	Dict selectByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

	int insert(Dict record);

	int insertSelective(Dict record);

	Dict selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Dict record);

	int updateByPrimaryKey(Dict record);
}